package com.healthcloud.entity.PatientRecord;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 用药信息
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2018-07-23 16:04:16
 */
@Data
@ApiModel(value = "用药信息表")
public class HcMedicalEntity implements Serializable {
	
	@ApiModelProperty(value = "主键id")
	private Integer id;
	//病人id
	@ApiModelProperty(value = "病人id")
	private Integer ppId;
	@ApiModelProperty(value = "药名id")
	private Integer medicalId;
	//药名
	@ApiModelProperty(value = "药名")
	private String medicalName;
	//规格
	@ApiModelProperty(value = "规格")
	private String medicalSpecs;
	//频率
	@ApiModelProperty(value = "频率")
	private String medicalFrequency;
	//医生id
	@ApiModelProperty(value = "医生id")
	private Long doctorId;
	//开立数量
	@ApiModelProperty(value = "开立数量")
	private Double numbers;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	//修改时间
	@ApiModelProperty(value = "修改时间")
	private Date updateTime;

	@ApiModelProperty(value = "医生姓名")
	private String doctorName;

	@ApiModelProperty(value = "1:页面添加  2:慈溪医院导入")
	private Integer type;

	@ApiModelProperty(value = "用法  0:其它 1:口服 2:皮下注射")
	private Integer useType;

	//开立时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "开立时间")
	private Date recordTime;

    //以下是部分
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @ApiModelProperty(value = "身份证")
    private String idCard;

}
